package com.lzh.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.format.annotation.DateTimeFormat;

import java.util.Date;
import java.util.List;

/**
 * @author reborn
 * @create 2020/5/18-19:54
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class Teacher {

    public Teacher(int id, String name) {
        this.id = id;
        this.name = name;
    }

    //
    private int id;

    //教师名字
    private String name;

    //帐号
    private String zh;

    //密码
    private String pwd;

    //注册时间
    private Date registTime;

//    登录时间
    private Date loginTime;

    //年龄
    private int age;

    //性别 1为男 2为女
    private int sex;


    //权限，yk普通权限，root管理员权限，teacher教师权限
    private String perms;


}
